package cn.aylog.pojo;

import lombok.Data;

@Data
public class User {
    private String cardNo;
    private String identity;
    private String username;
    private String password;
    private String phone;
    private Double balance;

    /**
     * 构造者模式
     */
    public class Builder {
        private String cardNo;
        private String identity;
        private String username;
        private String password;
        private String phone;
        private Double balance;

        public Builder setCardNo(String cardNo) {
                return this;
        }

    }
}
